﻿<Window x:Class="AutoClick.WPFHelpers.WPFAutoClickCircle"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" ShowInTaskbar="False"
    AllowsTransparency="True" Background="Transparent" WindowStyle="None" Visibility="Collapsed" >
    <Window.Resources>
        <Storyboard x:Key="WPFCircleGlowingStoryboard" AutoReverse="True" RepeatBehavior="Forever">
            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="AutoClickEllipse" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
                <SplineColorKeyFrame KeyTime="00:00:00" Value="Black"/>
                <SplineColorKeyFrame KeyTime="00:00:01" Value="LightBlue"/>
            </ColorAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="AutoClickEllipse" Storyboard.TargetProperty="(Shape.StrokeThickness)">
                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="3"/>
                <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </Window.Resources>
    <Ellipse Name="AutoClickEllipse" Stroke="Black"/>
</Window>
